package com.agent.vpsserver.modules.server.service;

import com.agent.vpsserver.common.dto.AdminAccountTokenDTO;
import com.agent.vpsserver.common.dto.AdminPageTokenRequestDTO;
import com.agent.vpsserver.common.dto.PageBean;
import com.agent.vpsserver.modules.server.entity.pojo.ServerInfoDO;
import com.agent.vpsserver.modules.server.response.ServerInfoPageResponse;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * 服务器信息(ServerInfo)表服务接口
 *
 * @author guochao
 * @since 2024-03-12 23:50:16
 */
public interface ServerInfoService extends IService<ServerInfoDO> {
    /**
     * 分页
     * @param request
     * @return
     */
    PageBean<ServerInfoPageResponse> pageData(AdminPageTokenRequestDTO request);

    /**
     * 查询全部
     * @param request
     * @return
     */
    List<ServerInfoPageResponse> listData(AdminAccountTokenDTO request);
}
